how to use growth function